<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>任务记录网站</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="container">
        <header>
            <h1>任务记录</h1>
            <form id="task-form">
                <div class="form-group">
                    <input type="text" id="task-title" placeholder="任务标题" required>
                </div>
                <div class="form-group">
                    <textarea id="task-description" placeholder="任务描述"></textarea>
                </div>
                <div class="form-group">
                    <label for="task-due-date">截止日期:</label>
                    <input type="date" id="task-due-date">
                </div>
                <button type="submit">添加任务</button>
            </form>
        </header>

        <main>
            <div id="task-list" class="task-list">
                <!-- 任务将通过JavaScript动态添加 -->
            </div>
        </main>
    </div>
    <script src="script.js"></script>
</body>
</html>